package com.bl.car.repositiy;

import com.bl.car.entity.Admin;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author zhx
 * @create 2017-11-16 17:44
 **/
@Repository
public interface AdminRepository extends JpaRepository<Admin,Long>{
    Admin getAdminByUsername(String userName);
}
